package day20171019.test01;

public class Test01 {
    public static void main(String[] args) {
        Squar box = new Squar(5,15,20,20);
        Circle oval = new Circle(5,20,20,20);
        System.out.println("Box area="+box.getArea());
        System.out.println("Oval area="+oval.getArea());
        System.out.println("Box perimeter="+box.getPerimeter());
        System.out.println("Oval perimeter="+oval.getPerimeter());
    }
}
